projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
362cb41
)
Justin fixes mem leak introduced in last change.
author
robertl
<robertl>
Fri, 1 Apr 2005 22:25:26 +0000
(22:25 +0000)
committer
robertl
<robertl>
Fri, 1 Apr 2005 22:25:26 +0000
(22:25 +0000)
coastexp.c
patch
|
blob
|
history
diff --git
a/coastexp.c
b/coastexp.c
index 15b50aae3dfaf6fc8b9263565463a2dd5f49cf72..faef555f54068dec812f034de384ea44e629cb93 100755
(executable)
--- a/
coastexp.c
+++ b/
coastexp.c
@@
-168,8
+168,11
@@
ce_start(void *data, const char *el, const char **attr)
static void
ce_end(void *data, const char *el)
{
- if (0 == strcmp(el, "Route"))
+ if (0 == strcmp(el, "Route")) {
+ if (!doing_rtes)
+ ce_free_route(currentRoute);
inRoute = 0;
+ }
else if (0 == strcmp(el, "Mark"))
inMark = 0;
}